<?php

$t_data = IsNew($GL, $_GET['new']);
if (isset($_GET['new']) and $t_data) {
    $HEADER = $t_data["title"];
    $BODY = str_replace("{EOF}", "\n", htmlspecialchars_decode($t_data["text"], ENT_QUOTES));
}
else {
    $HEADER = "Новости";
    $BODY = "<span>Новость не найдена.</span>";
}

?>
